import request from "../utils/axios";

//用户
export function getUsers() {
    return request({
        url: "/user",
        method: "get",
    });
}

//角色
export function getRoles() {
    return request({
        url: "/role",
        method: "get",
    });
}

//角色
export function getPermissions() {
    return request({
        url: "/per",
        method: "get",
    });
}

//科目
export function getSubjects() {
    return request({
        url: "/subject",
        method: "get",
    });
}

//路由
export function getRouters() {
    return request({
        url: "/router",
        method: "get",
    });
}

//题目
export function getProblems() {
    return request({
        url: "/pro",
        method: "get",
    });
}

//年级
export function getGrades() {
    return request({
        url: "/gradle",
        method: "get",
    });
}

//试卷
export function getExams() {
    return request({
        url: "/exam",
        method: "get",
    });
}

//反馈
export function getFeedBacks() {
    return request({
        url: "/feed",
        method: "get",
    });
}
